package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.CourseTeacherDto;
import com.xuecheng.content.model.po.CourseTeacher;

/**
 * @author cyf
 * @version 1.0
 * @description #课程教师相关接口
 * @date 2024/9/2 20:24
 **/
public interface CourseTeacherService {
    /**
     * @param id 课程id
     * @return CourseTeacher 课程教师详细信息
     * @date 2024/9/2
     */
    CourseTeacher queryCourseTeacherByCourseId(Long id);

    /**
     * @param courseTeacherDto 课程教师信息
     * @return CourseTeacher 课程教师详细信息
     * @date 2024/9/2
     */
    CourseTeacher addCourseTeacher(CourseTeacherDto courseTeacherDto);

    /**
     * @param courseTeacherDto 课程教师信息
     * @return CourseTeacher 课程教师详细信息
     * @date 2024/9/2
     */
    CourseTeacher updateCourseTeacher(CourseTeacherDto courseTeacherDto);

    /**
     * @param courseId 课程id
     * @param teachId  课程教师id
     * @date 2024/9/2
     */
    void deleteCourseTeacher(Long courseId, Long teachId);
}
